math logic puzzle

welcome to shbcf.ru